<table style="padding-bottom: 5px; border-bottom: 1px solid gray">
  <thead>
  <tr>
    <th><%= t "product.model_name" %></th>
    <th><%= t "product.price" %></th>
    <th><%= t "product.amount" %></th>
    <th><%= t "product.total" %></th>
  </tr>
  </thead>
  <tbody>
  <% for item in @cart.cart_items %>
      <tr>
        <td><%= item.product.name %></td>
        <td><%= number_to_currency item.product.price %></td>
        <td><%= item.amount %></td>
        <td><%= number_to_currency(item.price * item.amount) %></td>
      </tr>
  <% end %>
  <tr>
    <th>
       <%= t "product.total" %>
    </th>
    <th colspan="3">
       <%= number_to_currency @cart.total %>
    </th>
  </tr>
  </tbody>
</table>